import axios from 'axios'
import {API_URL} from './apiUrl'
const Axios= axios.create({
    baseURL:API_URL,
    timeout:5000,
})

Axios.interceptors.request.use((res)=>
    {return res},(err)=>{return Promise.reject(err)})

Axios.interceptors.request.use((res)=>
{return res},(err)=>{return Promise.reject(err)})

export default Axios